package com.ruoyi.workflow.service;

import java.io.InputStream;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.ServiceItem;
import com.ruoyi.workflow.domain.CarPackageAudit;

/**
 * 审核列Service接口
 *
 * @author god磊
 * @date 2022-11-17
 */
public interface ICarPackageAuditService extends IService<CarPackageAudit> {

    /**
     * 查询审核列列表
     *
     * @param carPackageAudit 审核列
     * @return 审核列集合
     */
    public List<CarPackageAudit> selectCarPackageAuditList(CarPackageAudit carPackageAudit);

    void audit(Long serviceItemId,String info);

    InputStream getProcessingImage(String instanceId);

    void cancel(Long id, String reason);

    void doAudit(Long id, String taskId, boolean result, String info);

    void updateServiceItem(Long auditId, ServiceItem serviceItem);

    void reapply(Long id, String taskId);
}
